<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class Model_Blog</title>
			<link rel="stylesheet" href="../../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name"><img src="../../media/images/Class_logo.png"
														alt=" Class"
														title=" Class"
														style="vertical-align: middle"> Model_Blog</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-methods">Methods</a>
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">定义 blog 表的 model 类</p>
<p class="description"><p>定义 blog 表的 model 类
 <pre> 类名以 [目录名]_[类名] 方式命名
 需继承自 db_TableGateway 类</pre></p></p>
	<ul class="tags">
				<li><span class="field">author:</span> eason007&lt;<a href="mailto:eason007@163.com">eason007@163.com</a>&gt;</li>
				<li><span class="field">version:</span> 1.2.5.20100301</li>
				<li><span class="field">copyright:</span> Copyright (c) 2007-2010 eason007&lt;eason007@163.com&gt;</li>
				<li><span class="field">see:</span> <a href="../../DB/DB_TableGateway.html">DB_TableGateway</a></li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_example---Model---Blog.php.html">/example/Model/Blog.php</a> (line <span class="field"><a href="../../__filesource/fsource_Example_Model_exampleModelBlog.php.html#a22">22</a></span>)
		</p>
		
				
		<pre><a href="../../DB/DB_TableGateway.html">DB_TableGateway</a>
   |
   --Model_Blog</pre>
	
			</div>
</div>



	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-methods">Methods</a>
							
								</div>
		<div class="info-box-body">
			<div class="var-summary">
																																																								<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$autoLink" title="details" class="var-name">$autoLink</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$belongsTo" title="details" class="var-name">$belongsTo</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$dbParams" title="details" class="var-name">$dbParams</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$primaryKey" title="details" class="var-name">$primaryKey</a>
				</div>
																<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$tableName" title="details" class="var-name">$tableName</a>
				</div>
											</div>
		</div>
	</div>


	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<span class="disabled">Vars</span>
						
			
										| 
									<a href="#sec-methods">Methods</a>
							
					</div>
		<div class="info-box-body">
			
<a name="var$autoLink" id="$autoLink"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$autoLink</span>
			 = <span class="var-default"> true</span>			(line <span class="line-number"><a href="../../__filesource/fsource_Example_Model_exampleModelBlog.php.html#a26">26</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../DB/DB_TableGateway.html#var$autoLink">DB_TableGateway::$autoLink</a></dt>
						<dd>是否在执行数据库中自动执行关联操作</dd>
					</dl>
		
		

</div>
<a name="var$belongsTo" id="$belongsTo"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$belongsTo</span>
			 = <span class="var-default">array(<br />		'tableClass'	=&gt; 'Model_Category_ForBlog',<br />		'joinKey'		=&gt; 'category_id',<br />		'mappingName'	=&gt; 'Category'<br />	)</span>			(line <span class="line-number"><a href="../../__filesource/fsource_Example_Model_exampleModelBlog.php.html#a28">28</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../DB/DB_TableGateway.html#var$belongsTo">DB_TableGateway::$belongsTo</a></dt>
						<dd>从属关联</dd>
					</dl>
		
		

</div>
<a name="var$dbParams" id="$dbParams"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$dbParams</span>
			 = <span class="var-default">array(<br />		'dbServer' 	=&gt; 'localhost',<br />		'dbPort' 	=&gt; '3306',<br />		'dbName' 	=&gt; 'test2',<br />		'dbUser' 	=&gt; 'root',<br />		'dbPassword'=&gt; '',<br />		'dbType' 	=&gt; 'PDO'<br />	)</span>			(line <span class="line-number"><a href="../../__filesource/fsource_Example_Model_exampleModelBlog.php.html#a34">34</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../DB/DB_TableGateway.html#var$dbParams">DB_TableGateway::$dbParams</a></dt>
						<dd>数据表所在数据库的连接信息</dd>
					</dl>
		
		

</div>
<a name="var$primaryKey" id="$primaryKey"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$primaryKey</span>
			 = <span class="var-default"> 'id'</span>			(line <span class="line-number"><a href="../../__filesource/fsource_Example_Model_exampleModelBlog.php.html#a24">24</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../DB/DB_TableGateway.html#var$primaryKey">DB_TableGateway::$primaryKey</a></dt>
						<dd>主键字段名</dd>
					</dl>
		
		

</div>
<a name="var$tableName" id="$tableName"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$tableName</span>
			 = <span class="var-default"> 'e_fw_blog'</span>			(line <span class="line-number"><a href="../../__filesource/fsource_Example_Model_exampleModelBlog.php.html#a23">23</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../DB/DB_TableGateway.html#var$tableName">DB_TableGateway::$tableName</a></dt>
						<dd>数据表名</dd>
					</dl>
		
		

</div>
							<h4>Inherited Variables</h4>
				<A NAME='inherited_vars'><!-- --></A>
									<p>Inherited from <span class="classname"><a href="../../DB/DB_TableGateway.html">DB_TableGateway</a></span></p>
					<blockquote>
													<img src="../../media/images/PrivateVariable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../../DB/DB_TableGateway.html#var$db">DB_TableGateway::$db</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../../DB/DB_TableGateway.html#var$hasMany">DB_TableGateway::$hasMany</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../../DB/DB_TableGateway.html#var$hasOne">DB_TableGateway::$hasOne</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../../DB/DB_TableGateway.html#var$isCache">DB_TableGateway::$isCache</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../../DB/DB_TableGateway.html#var$manyToMany">DB_TableGateway::$manyToMany</a></span><br>
							</span>
													<img src="../../media/images/PrivateVariable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../../DB/DB_TableGateway.html#var$_cacheAnalytics">DB_TableGateway::$_cacheAnalytics</a></span><br>
							</span>
													<img src="../../media/images/PrivateVariable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../../DB/DB_TableGateway.html#var$_field">DB_TableGateway::$_field</a></span><br>
							</span>
													<img src="../../media/images/PrivateVariable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../../DB/DB_TableGateway.html#var$_limit">DB_TableGateway::$_limit</a></span><br>
							</span>
													<img src="../../media/images/PrivateVariable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../../DB/DB_TableGateway.html#var$_order">DB_TableGateway::$_order</a></span><br>
							</span>
													<img src="../../media/images/PrivateVariable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../../DB/DB_TableGateway.html#var$_other">DB_TableGateway::$_other</a></span><br>
							</span>
													<img src="../../media/images/PrivateVariable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../../DB/DB_TableGateway.html#var$_where">DB_TableGateway::$_where</a></span><br>
							</span>
											</blockquote> 
										
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
														<span class="disabled">Methods</span>
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
							<h4>Inherited Methods</h4>
				<a name='inherited_methods'><!-- --></a>	
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../../DB/DB_TableGateway.html">DB_TableGateway</a></span></p>
					<blockquote>
													<img src="../../media/images/Constructor.png" alt=" "/>
							<span class="method-name"><a href="../../DB/DB_TableGateway.html#method__construct">DB_TableGateway::__construct()</a></span><br>
													<img src="../../media/images/PrivateMethod.png" alt=" "/>
							<span class="method-name"><a href="../../DB/DB_TableGateway.html#methodclear">DB_TableGateway::clear()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DB/DB_TableGateway.html#methoddel">DB_TableGateway::del()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DB/DB_TableGateway.html#methodfield">DB_TableGateway::field()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DB/DB_TableGateway.html#methodgetSubSql">DB_TableGateway::getSubSql()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DB/DB_TableGateway.html#methodinsert">DB_TableGateway::insert()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DB/DB_TableGateway.html#methodlimit">DB_TableGateway::limit()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DB/DB_TableGateway.html#methodorder">DB_TableGateway::order()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DB/DB_TableGateway.html#methodother">DB_TableGateway::other()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DB/DB_TableGateway.html#methodselect">DB_TableGateway::select()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DB/DB_TableGateway.html#methodselectSQL">DB_TableGateway::selectSQL()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DB/DB_TableGateway.html#methodsetDB">DB_TableGateway::setDB()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DB/DB_TableGateway.html#methodsqlEncode">DB_TableGateway::sqlEncode()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DB/DB_TableGateway.html#methodupdate">DB_TableGateway::update()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DB/DB_TableGateway.html#methodwhere">DB_TableGateway::where()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DB/DB_TableGateway.html#method_afterDelete">DB_TableGateway::_afterDelete()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DB/DB_TableGateway.html#method_afterInsert">DB_TableGateway::_afterInsert()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DB/DB_TableGateway.html#method_afterUpdate">DB_TableGateway::_afterUpdate()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DB/DB_TableGateway.html#method_beforeDelete">DB_TableGateway::_beforeDelete()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DB/DB_TableGateway.html#method_beforeInsert">DB_TableGateway::_beforeInsert()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DB/DB_TableGateway.html#method_beforeUpdate">DB_TableGateway::_beforeUpdate()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DB/DB_TableGateway.html#method_delLinkData">DB_TableGateway::_delLinkData()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DB/DB_TableGateway.html#method_getLinkData">DB_TableGateway::_getLinkData()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DB/DB_TableGateway.html#method_insertLinkData">DB_TableGateway::_insertLinkData()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../DB/DB_TableGateway.html#method_updateLinkData">DB_TableGateway::_updateLinkData()</a></span><br>
											</blockquote>
										
		</div>
	</div>

	
	<p class="notes" id="credit">
		Documentation generated on Tue, 02 Mar 2010 07:46:47 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.1</a>
	</p>
	</div></body>
</html>